<template>
  <img
    style="
      width: 160px;
      height: 60px;
      transform: rotate(90deg) translate(60px, -30px);
      position: absolute;
      top: 0;
      right: 0;
      z-index: 1;
    "
    class="barcode"
  />
</template>

<script>
import JSBarcode from "jsbarcode";
export default {
  props: ["washCode"],
  data() {
    return {};
  },
  mounted() {
    JSBarcode(".barcode", this.washCode, {
      height: 40,
      displayValue: false,
    });
  },
};
</script>

<style lange="less" scoped></style>
